package com.ylr.blog.framework.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-23 11:38:53
 * className: BlogTagRelationEntity
 * version: 1.0
 * description:
 *  博客与博客标签关联表
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("yb_blog_tag_relation")
public class BlogTagRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;

	/**
	 * 博客主键
	 */
	private Long blogId;

	/**
	 * 博客标签主键
	 */
	private Long tagId;

	/**
	 * 排序等级
	 */
	private Integer sort;

	/**
	 * 删除状态[0-正常 1-删除]
	 */
	private Integer deleteStatus;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 删除日期
	 */
	private Date deleteTime;

}
